<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

			<?php echo  '';
			$dataProgram = Program::model()->findAll(array('order' => 'nama_program'));
		    $listProgram = CHtml::listData($dataProgram,'id', 'nama_program');
		    echo $form->select2Row($model, 'tb_program_id', array(
			   'data' => $listProgram,

			))
			; ?>

		<?php echo $form->textFieldRow($model,'nama_materi',array('class'=>'span5','maxlength'=>50)); ?>

		<?php echo $form->textFieldRow($model,'jumlah_jam',array('class'=>'span5','maxlength'=>10)); ?>

		<?php echo $form->textFieldRow($model,'bobot_minimum',array('class'=>'span5')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType' => 'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
